home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
dskut
/
qic02_11.zip
/
README
< prev
next >
Wrap
Text File
|
1993-05-27
|
5KB
|
144 lines
QIC02 device driver for MSDOS, version 1.1, released May 1993
Author: Eddy Olk, eddy@duteca.et.tudelft.nl
Abstract
========
This package contains my DOS device driver and magnetic tape
manipulation program for the Archive SC402/SC499R tapestreamer
interface cards having the QIC02 command set. I don't have
documentation on other brand QIC02 interface cards but I don't expect
them to work with this driver. The driver should work on MSDOS 3.3,
MSDOS 5.0, DRDOS 6.0, and OS/2 (DOS box).
Package contents
================
The package should have the following files:
README - this file describing installation etc.
QIC02.SYS - the device driver
MT.COM - magnetic tape manipulating program
MT.DOC - document file for mt program
COPYING - GNU General Public License
QIC02.C - device driver source code
QIC02.H - header file for qic02 driver
TCDEV.ASM - some magic assembler stuff,
TCDEV.OBJ - already assembled...
(Note: this one differs from the original object file)
MT.C - magnetic tape manipulation program source code
MTIO.H - header file for mt
MAKEFILE - makefile (for TurboC)
Software status
===============
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at
your option) any later version.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License
along with this library; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
Package details and usage
=========================
The device driver installs itself as a DOS character device named
TAPE$. Usually the tar program will be used to read/write tapes with
the TAPE$ device. Also other programs can be used (I don't know any
however) as long as they read/write data in multiples of 512 bytes,
the size of a block on tape.
This last requirement revealed a subtle difference between MSDOS and
DRDOS since several TAR programs working fine with DRDOS did not work
with MSDOS as the driver did not got requests for multiple 512 byte
transfers. However, the gnutar for OS/2 seems to work fine with OS/2,
MSDOS, as well as DRDOS. So this tar is probably the best thing to
use. Here are some FTP sites where you can find this gnutar:
dutepp0.et.tudelft.nl:/pub/Os2/gnutar.zoo
ipc1.rrzn.uni-hannover.de:/pub/os2/gnu/gnutar.zoo
iskut.ucs.ubc.ca:/pub/os2/shadow/all/unix/gnu/gnutar.zip
luga.latrobe.edu.au:/pub/os2/all/unix/gnu/gnutar.zip
rusmv1.rus.uni-stuttgart.de:/pub/soft/os2/Arc/ArcProgs/gnutar.zip
src.doc.ic.ac.uk:/computing/systems/os2/all/unix/gnu/gnutar.zip
sun.rz.tu-clausthal.de:/pub/os2/archiv/gnutar.zip
swdsrv.edvz.univie.ac.at:/os2/hobbes/all/unix/gnu/gnutar.zip
van-bc.wimsey.bc.ca:/pub/os2/archivers/gnutar.zoo
Installation instructions
=========================
Installing/using the device driver and accompanying `mt' magnetic tape
manipulation program is pretty straightforward. (See the mt.doc file
for details on how to use mt.)
1. Copy QIC02.SYS to the root directory of your booting disk and copy
MT.COM to a directory which is part of your path.
2. Put the line:
DEVICE=QIC02.SYS 220 3 7
in your CONFIG.SYS. The first parameter indicates the SC402/499
board's configured base I/O address (here 220h), the second parameter
indicates the DMA channel (either 1 or 3, here 3). The last
parameter indicates the interrupt number but the current driver
version simply skips it since no interrupts are used (yet).
This completes the installation for the QIC02 tape device driver.
However, you may want to put the line:
SET TAPE=TAPE$
in your AUTOEXEC.BAT so that gnutar automatically uses the tape drive
without specifying it specifically with the -f option. E.g. to write the
current directory to tape with tar you can then simply use "tar c ."
instead of "tar cf TAPE$ .".
Sources
=======
The accompanied sources are compiled with the Turbo C compiler from
Borland but I don't expect compiling with other C compilers to give
significant problems, if any at all. For the device driver I
gratefully used some source from H.H. Bergman's QIC02 device driver
for Linux, Doug Braun's SCSI driver (SCSIDRVR.ARC) and the TCDEV.ARC
archive. The mt program is based on source from the University of
California at Berkeley.
Bugs
====
I'm not aware of any bugs in the device driver or the mt program but
this doesn't mean there aren't any!! If you have found a bug (or fixed
one :-), suggestions for improvements, or any problems with the
driver, please contact me. You can contact me via email (preferred)
or normal mail:
email: eddy@duteca.et.tudelft.nl
mail: Eddy Olk
Beatrixstraat 8
3264 XB Nieuw-Beyerland
The Netherlands
Enjoy!